package com.kaishengit.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.kaishengit.dao.GroupDao;
import com.kaishengit.pojo.Group;

@Service
@Transactional
public class GroupService {
	private GroupDao groupDao;
	
	public List<Group> findAll() {
		return groupDao.findAll();
	}
	
	
	
	
	@Autowired
	public void setGroupDao(GroupDao groupDao) {
		this.groupDao = groupDao;
	}






	
	
	
}
